.goods-info {
    width: 500px;
    height: 450px;
    background-color: white;
    margin-top: 120px;
    margin-left: 20px;
}

#goods-name {
    font-size: 20px;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 20px;
    margin-right: 20px;
}

.pricegin-top {
    font-size: 20px;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 20px;
}

#timedown {
    position: relative;
    width: 200px;
    height: 270px;
    background-color: darkred;
    float: right;
    margin-right: 20px;
    margin-top: 20px;
    border-radius: 10px;
}

#text1 {
    text-align: center;
    padding-top: 30px;
    font-size: 35px;
    font-weight: 1000;
    color: white;
}

#text2 {
    text-align: center;
    padding-top: 60px;
    font-size: 17px;
    font-weight: 1000;
    color: white;
}

#timedown .hour,.minute,.second {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: black;
    margin-top: 12px;
    color: white;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
}

#timedown .colon {
    color: white;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    display: inline-block;
    height: 30px;
}

.time {
    text-align: center;
}

.goods-num {
    font-size: 20px;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 27px;
}

#goods-residue-title {
    color : grey;
    font-size: 16px;
    font-weight: normal;
}

.num-box {
    margin-left: -10px;
}
.minus, .add, #goods-num {
    width: 30px;
    height: 30px;
    background-color: #f5f5f5;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 10px;
}

.goods-btn {
    margin-left: 20px;
    margin-top: 25px;
}

#toBuy {
    width: 100px;
    height: 40px;
    background-color: #ff6700;
    border-radius: 5px;
    border: 1px solid #ff6700;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-right: 10px;
}

#add-cart {
    width: 120px;
    height: 40px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ff6700;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    color: #ff6700;
}

.info {
    height:22px;
}

#buy-info{
    margin-top: 20.5px;
    font-size: 20px;
    float: left;
    margin-left: 20px;
    color:white;
    background-color: orangered;
    border: 2px solid orangered;
    text-align: center;
    width: 103px;
}

#myMarquee {
    margin-top: 20px;
    margin-right: 20px;
    font-size: 20px;
    width: 357px;
    float: right;
    border: 2px solid orangered;
}

/* 全屏加载动画样式 */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.comment-section {
    max-width: 600px;
    margin: 0 auto;
}
.comment-form {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.comment-form input, .comment-form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.comment {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
.comment-info {
    display: flex;
    flex-direction: column;
}
.comment-name {
    font-weight: bold;
}
.comment-time {
    font-size: 0.8em;
    color: #666;
}
.comment-content {
    margin-top: 10px;
}

#comment {
    font-size: 20px;
    float: left;
    color:white;
    background-color: cornflowerblue;
    border: 2px solid cornflowerblue;
    text-align: center;
    border-radius: 5px;
    height: 40px;
}